package app.modules.security.dto.web.resource;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author mh.z
 */
@Schema(title = "资源")
public class WebResourceDTO {

    @Schema(title = "记录ID")
    private Long id;

    @Schema(title = "资源类型")
    private String resourceType;

    @Schema(title = "资源类型的描述")
    private String resourceTypeDesc;

    @Schema(title = "访问策略")
    private String accessPolicy;

    @Schema(title = "访问策略的描述")
    private String accessPolicyDesc;

    @Schema(title = "访问方式")
    private String accessMethod;

    @Schema(title = "资源路径")
    private String resourcePath;

    @Schema(title = "冻结标志")
    private Boolean frozenFlag;

    @Schema(title = "冻结标志的描述")
    private String frozenFlagDesc;

    @Schema(title = "备注")
    private String remark;

    @Schema(title = "版本号")
    private Integer versionNumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getAccessPolicy() {
        return accessPolicy;
    }

    public void setAccessPolicy(String accessPolicy) {
        this.accessPolicy = accessPolicy;
    }

    public String getAccessMethod() {
        return accessMethod;
    }

    public void setAccessMethod(String accessMethod) {
        this.accessMethod = accessMethod;
    }

    public String getResourcePath() {
        return resourcePath;
    }

    public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }

    public Boolean getFrozenFlag() {
        return frozenFlag;
    }

    public void setFrozenFlag(Boolean frozenFlag) {
        this.frozenFlag = frozenFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getResourceTypeDesc() {
        return resourceTypeDesc;
    }

    public void setResourceTypeDesc(String resourceTypeDesc) {
        this.resourceTypeDesc = resourceTypeDesc;
    }

    public String getAccessPolicyDesc() {
        return accessPolicyDesc;
    }

    public void setAccessPolicyDesc(String accessPolicyDesc) {
        this.accessPolicyDesc = accessPolicyDesc;
    }

    public String getFrozenFlagDesc() {
        return frozenFlagDesc;
    }

    public void setFrozenFlagDesc(String frozenFlagDesc) {
        this.frozenFlagDesc = frozenFlagDesc;
    }

    public Integer getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Integer versionNumber) {
        this.versionNumber = versionNumber;
    }

}
